﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FortuneHeavenCommon.DataMap
{
    public partial class IPRecord
    {
        public const string TABLE_NAME = "IPRecord";
        public const string INSERT_SQL = "insert into IPRecord([StartIP],[EndIP],[Pos],[Detail]) values (@StartIP,@EndIP,@Pos,@Detail)";
        public const string UPDATE_SQL = "UPDATE IPRecord SET [StartIP]=@StartIP,[EndIP]=@EndIP,[Pos]=@Pos,[Detail]=@Detail where ID = @ID";

        /// <summary>
        ///
        /// </summary>
        public float StartIP
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public float EndIP
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Pos
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Detail
        {
            get;
            set;
        }
    }

}
